import {wx} from '../../../weixin2alipay/index.js';
import {Page,Component} from '../../../weixin2alipay/index.js';
Page({
    "onShareAppMessage"(){
      return {
        "title":'消息提示框',
        "path":'packageAPI/pages/toast/toast'
};
    },
    "toast1Tap"(){
      wx.showToast({
        "title":'默认'
});
    },
    "toast2Tap"(){
      wx.showToast({
        "title":'duration 3000',
        "duration":3000
});
    },
    "toast3Tap"(){
      wx.showToast({
        "title":'loading',
        "icon":'loading',
        "duration":5000
});
    },
    "hideToast"(){
      wx.hideToast();
    }
});

